package com.ruoyi.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * details对象 execution_record_details
 * 
 * @author drx
 * @date 2023-10-19
 */
public class ExecutionRecordDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 业务id */
    @Excel(name = "业务id")
    private Long businessId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 批次 */
    @Excel(name = "批次")
    private Long batch;

    /** 用户 */
    @Excel(name = "用户")
    private String userCard;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    @Excel(name = "案件号")
    private String caseNo;

    /*最近一次扣款时间*/
    @Excel(name = "received_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receivedTime;

    /*apiToken*/
    @Excel(name = "apiToken")
    private String apiToken;

    /** 是否删除（0否；1是） */
    private String delFlag;

    public Date getReceivedTime() {
        return receivedTime;
    }

    public void setReceivedTime(Date receivedTime) {
        this.receivedTime = receivedTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setBatch(Long batch) 
    {
        this.batch = batch;
    }

    public Long getBatch() 
    {
        return batch;
    }
    public void setUserCard(String userCard) 
    {
        this.userCard = userCard;
    }

    public String getUserCard() 
    {
        return userCard;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(String caseNo) {
        this.caseNo = caseNo;
    }

    public String getApiToken() {
        return apiToken;
    }

    public void setApiToken(String apiToken) {
        this.apiToken = apiToken;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("userName", getUserName())
            .append("batch", getBatch())
            .append("userCard", getUserCard())
            .append("userPhone", getUserPhone())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
